package com.polytech.dao;

import java.util.List;

import com.polytech.model.Topic;

public interface TopicDao{

	void insert(Topic topic);
	Topic select(int id);
	void update(Topic topic);
	void delete(Topic topic);
	List<Topic> findTheLastThreeTopic();
	List<Topic> findAllTopics();
	
}
